# 运行环境
FROM java:8
# 作者
MAINTAINER lunjia <fanglunjia@163.com>
# 将jar包添加到容器中并更名为app.jar
ADD blog-0.0.1-SNAPSHOT.jar app.jar
# 运行jar包
RUN bash -c 'touch /app.jar'

ENTRYPOINT ["java","-jar","/app.jar","--spring.profiles.active=pro"]